/**
 * @Copyright (c) 2017, 广电运通信息科技有限公司 All Rights Reserved.
 */
package com.grgbanking.biometrics.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.grgbanking.biometrics.dto.ResultDTO;
import com.grgbanking.biometrics.param.ReqParam;
import com.grgbanking.biometrics.service.FaceService;

/**
 * @Description TODO
 * @Author hesheng
 * @Date 2017年6月30日 下午3:35:48
 */
@RestController
public class FaceController {

	@Autowired
	private FaceService faceService;
	
	@RequestMapping(value = "/grgbanking/face/api", method = RequestMethod.POST)
	public ResultDTO api(@RequestBody ReqParam param) {
		return faceService.api(param);
	}
}
